From 8c5bae9746017b8466fef81426a76ca364fb11f5 Mon Sep 17 00:00:00 2001 From: Chad Horohoe Date: Wed, 6 Jul 2011 16:56:26 +0000 Subject: [PATCH] Followup r91270: didn't need to be so paranoid about $_SESSION, and actually was causing more issues than it solved. --- tests/phpunit/includes/api/ApiTestCase.php | 1 - 1 file changed, 1 deletion(-) diff --git a/tests/phpunit/includes/api/ApiTestCase.php b/tests/phpunit/includes/api/ApiTestCase.php index fab4187241..2917c880e0 100644 --- a/tests/phpunit/includes/api/ApiTestCase.php +++ b/tests/phpunit/includes/api/ApiTestCase.php @@ -40,7 +40,6 @@ abstract class ApiTestCase extends MediaWikiLangTestCase { if ( is_null( $session ) ) { $session = array(); } - $_SESSION = $session; // paranoia $request = new FauxRequest( $params, true, $session ); $module = new ApiMain( $request, true ); -- 2.20.1